﻿<%@ Page language="c#" AutoEventWireup="false" Inherits="Lx.Web.Common.UI.TDTPageBase" %>
<%@ Register TagPrefix="DT" Namespace="Lx.Web.Common.UI" Assembly="Web.Common" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>
        <%=GetText("AS500")%>
    </title>
    <meta name="KEYWORDS" content="<%=GetText("AS501")%>">
    <meta name="Description" content="<%=GetText("AS502")%>">
    <meta content="JavaScript" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    <link type="text/css" rel="stylesheet" href="/Common/common.css" />
    <link type="text/css" rel="stylesheet" href="/files/files.css" />
    <script type="text/javascript" src="/scripts/public.js"></script>
    <script type="text/javascript">
    function Valid()
    {
        var isValid = true;
        
        var title_error = $('span_title_error');
        var learn_error = $('span_learn_error');
        var using_error = $('span_using_error');
        
        var title = $('text_title');
        var learn = $('slct_learn');
        var using = $('slct_using');
        
        title_error.style.display = 'none';
        learn_error.style.display = 'none';
        using_error.style.display = 'none';
        
        if(title.value == ''){
            title_error.style.display = 'block';
            isValid = false;
        }
        if(learn.value == ''){
            learn_error.style.display = 'block';
            isValid = false;
        }
        if(using.value == ''){
            using_error.style.display = 'block';
            isValid = false;
        }
       
        return isValid;
    }
    </script>
</head>
<body>
    <body leftmargin="0" topmargin="0" rightmargin="0">
        <form id="form1" action="/files/updatefile.htm" method="post" onsubmit="javascript:return Valid();">
            <dt:masterpage id="MPContainer0" runat="server" skinsecondpathandfile="Controls/Inc/Inc_Top.ascx"
                parameter="NavIndex=5"></dt:masterpage>
            <dt:masterpage id="MPContainer3" runat="server" skinsecondpathandfile="Controls/Inc/Inc_filesTop.ascx"
                parameter="NavIndex=5"></dt:masterpage>
            <dt:masterpage id="MPContainer1" runat="server" skinsecondpathandfile="Controls/files/UpdateFile.ascx"></dt:masterpage>
            <dt:masterpage id="MPContainer2" runat="server" skinsecondpathandfile="Controls/Inc/Inc_Foot.ascx"></dt:masterpage>
        </form>
    </body>
</body>
</html>
